import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ulearning from 'packages'
import i18n from './i18n'
// import ulearning from '../lib/ulearning-ui.common.js'
import '../lib/styles/index.css'
// import {button} from 'ulearning-ui'
// import "src/styles/src/index.scss"
Vue.use(ulearning, {
  i18n: (key, value) => i18n.t(key, value)
})
// import editor from '../lib/editor.js'
// Vue.use(editor)

// import EL from 'element-ui'
// import 'element-ui/lib/theme-chalk/index.css'
// Vue.use(EL)

Vue.config.productionTip = false

new Vue({
  router,
  i18n,
  render: h => h(App),
  created () {
    console.log(this)
  }
}).$mount('#app')
